package org.example.demo4.model;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

/**
 * 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "freight_address")
@Schema(name="收货地址对象",description = "运费地址对象",title="标题")
public class FreightAddressEntity {

    /**
     * 收货地址id主键
     */
    @Id(keyType = KeyType.Auto)
    @Schema(description = "地址id")
    private Long addressId;

    /**
     * 发货省
     */
    @Column(value = "address_province")
    @Schema(description = "省id")
    private Integer addressProvince;

    /**
     * 发货省文本
     */
    @Column(value = "address_province_text")
    @Schema(description = "省")
    private String addressProvinceText;

    /**
     * 发货市
     */
    @Column(value = "address_city")
    private Integer addressCity;

    /**
     * 发货市文本
     */
    @Column(value = "address_city_text")
    private String addressCityText;

    /**
     * 发货区
     */
    @Column(value = "address_area")
    private Integer addressArea;

    /**
     * 发货区文本
     */
    @Column(value = "address_area_text")
    private String addressAreaText;

    /**
     * 发货详细地址
     */
    @Column(value = "address_address")
    private String addressAddress;

    /**
     * 发货联系人
     */
    @Column(value = "address_contact")
    private String addressContact;

    /**
     * 发货联系人电话
     */
    @Column(value = "address_contact_phone")
    private String addressContactPhone;

    /**
     * 用户id
     */
    @Column(value = "user_id")
    private Long userId;

    /**
     * 默认：1 ，非默认0
     */
    @Column(value = "is_default")
    private Integer isDefault;

    /**
     * 启用状态（0正常 1停用）
     */
    @Column(value = "status")
    private Integer status;

    /**
     * 创建者
     */
    @Column(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(value = "create_time")
    private Date createTime;

    /**
     * 更新者
     */
    @Column(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(value = "update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @Column(value = "remark")
    private String remark;


    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Integer getAddressProvince() {
        return addressProvince;
    }

    public void setAddressProvince(Integer addressProvince) {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvinceText() {
        return addressProvinceText;
    }

    public void setAddressProvinceText(String addressProvinceText) {
        this.addressProvinceText = addressProvinceText;
    }

    public Integer getAddressCity() {
        return addressCity;
    }

    public void setAddressCity(Integer addressCity) {
        this.addressCity = addressCity;
    }

    public String getAddressCityText() {
        return addressCityText;
    }

    public void setAddressCityText(String addressCityText) {
        this.addressCityText = addressCityText;
    }

    public Integer getAddressArea() {
        return addressArea;
    }

    public void setAddressArea(Integer addressArea) {
        this.addressArea = addressArea;
    }

    public String getAddressAreaText() {
        return addressAreaText;
    }

    public void setAddressAreaText(String addressAreaText) {
        this.addressAreaText = addressAreaText;
    }

    public String getAddressAddress() {
        return addressAddress;
    }

    public void setAddressAddress(String addressAddress) {
        this.addressAddress = addressAddress;
    }

    public String getAddressContact() {
        return addressContact;
    }

    public void setAddressContact(String addressContact) {
        this.addressContact = addressContact;
    }

    public String getAddressContactPhone() {
        return addressContactPhone;
    }

    public void setAddressContactPhone(String addressContactPhone) {
        this.addressContactPhone = addressContactPhone;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
